home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
u_man
/
cat1
/
what.z
/
what
Wrap
Text File
|
1998-10-20
|
2KB
|
67 lines
WWWWHHHHAAAATTTT((((1111)))) WWWWHHHHAAAATTTT((((1111))))
NNNNAAAAMMMMEEEE
what - identify SCCS files
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
wwwwhhhhaaaatttt [----ssss] files
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_w_h_a_t searches the given files for all occurrences of the pattern that
_g_e_t(1) substitutes for %Z% (this is @@@@((((####)))) at this printing) and prints out
what follows until the first ~~~~, >>>>, new-line, \\\\, or null character. For
example, if the C program in file ffff....cccc contains
char ident[] = "@(#)identification information";
and ffff....cccc is compiled to yield ffff....oooo and aaaa....oooouuuutttt, then the command
what f....c f....o a....out
will print
f....c:
identification information
f....o:
identification information
a....out:
identification information
_w_h_a_t is intended to be used in conjunction with the command _g_e_t(1),
which automatically inserts identifying information, but it can also be
used where the information is inserted manually. Only one option exists:
----ssss Quit after finding the first occurrence of pattern in each
file.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
get(1), help(1)
DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
Exit status is 0 if any matches are found, otherwise 1. Use _h_e_l_p(1) for
explanations.
BBBBUUUUGGGGSSSS
It is possible that an unintended occurrence of the pattern @@@@((((####)))) could be
found just by chance, but this causes no harm in nearly all cases.
PPPPaaaaggggeeee 1111